package com.keli.dt.model.rowmapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.keli.dt.model.DetectDevice;

public class DetectDeviceRowMapper implements RowMapper {

	@Override
	public Object mapRow(ResultSet rs, int rowNum) throws SQLException {		
		DetectDevice dd = new DetectDevice();
		dd.setDETECT_ID(rs.getString("DETECT_ID"));
		dd.setDETECT_CLASS(rs.getString("DETECT_CLASS"));
		
		return dd;
	}

}
